package com.example.ioc.userController;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Service;


public class User {
    String name;
    public User() {

    }
    public User(String name) {
        this.name = name;
    }
    public void say() {
        System.out.println(name);
    }
}
